package com.tian.service;

import com.tian.common.CommonResult;
import com.tian.dto.PaymentChannel4ApiRespDto;
import com.tian.dto.PaymentChannelDto;

import java.util.List;

/**
 * {@code @description:} TODO
 *
 * @author tianwc 公众号：Java后端技术全栈
 * 在线刷题 1200+java面试题和1000+篇技术文章：<a href="https://woaijava.cc/">博客地址</a>
 * {@code @date:} 2024-11-23 9:26
 * {@code @version:} 1.0
 */
public interface PaymentChannelService {

    CommonResult<Boolean> addPaymentChannel(PaymentChannelDto paymentChannelDto);
    CommonResult<Boolean> updatePaymentChannel(PaymentChannelDto paymentChannelDto);

    CommonResult<List<PaymentChannel4ApiRespDto>> getAllPaymentChannel();
}
